<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInLeft">
    <div data-th-replace="common/functionDepict"></div>
    <div>
        <div class="row">
            <div class="pt10">
                <div class="col-sm-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>填写基本信息</h5>
                        </div>
                        <div class="ibox-content clearfix pt10">
                            <form class="form-horizontal m-t" id="advertPlaceSaveForm">
                                <div class="form-horizontal">
                                    <input name="id" th:value="${advertPlace['id']}" type="hidden"/>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label text-right"><i class="c-red">* </i>位置名</label>
                                        <div class="col-sm-8">
                                            <input class="validate-data form-control" type="text" name="placeName" th:value="${advertPlace['placeName']}" />
                                            <span class="help-block m-b-none c-999"> 位置名 只支持中文和英文，限30个字以内</span>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label text-right"><i class="c-red">* </i>位置标识</label>
                                        <div class="col-sm-8">
                                            <input class="validate-data form-control" type="text" name="placeKey" th:value="${advertPlace['placeKey']}" />
                                            <span class="help-block m-b-none c-999"> 位置标识 只英文，限20个字以内，且不可重复</span>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label text-right">广告位置描述</label>
                                        <div class="col-sm-8">
                                            <textarea id="depict" style="resize: none;" name="depict" class="form-control" placeholder="请填写广告位置描述内容" th:text="${advertPlace['depict']}"></textarea>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <div class="col-sm-8 col-sm-offset-2">
                                            <button class="btn btn-danger submitMaterial" data-status="2" id="submitAdvertPlace" type="button">保存</button>
                                            <button class="btn btn-white ml10" id="onBack" type="button">取消</button>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div data-th-replace="layout/head-footer"></div>
<script type="text/javascript" th:src="@{{path}/admin/business/op/advert/save-advert-place.js?v={v}(path=${staticPath},v=${v})}"></script>
</body>
</html>
